﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Sketchial.Data;

namespace Sketchial.Business
{
    public class DataCreateHelper
    {
        public static void CreateUsers()
        {
            List<UserEntity> userList = new List<UserEntity>{
                new UserEntity("1") { Name="Mustafa",Surname="Taşdemir",Gender="Male",Web="www.mustafatasdemir.com",Email="sawthesaw@gmail.com",Comment="ironstone", FacebookID="123",UserName="ironstone"},
                new UserEntity("2") { Name = "Ali", Surname = "Yıldız", Gender = "Male", Web = "www.aliyıldız.com", Email = "aliyıldız@inbox.com", Comment = "ali", FacebookID = "456",UserName="ali"},
                new UserEntity("3") { Name = "Sezer", Surname = "Baytar", Gender = "Male", Web = "www.sezerbaytar.com", Email = "sezerbaytar@hotmail.com", Comment = "sezer", FacebookID = "789",UserName="sezer"},
                new UserEntity("4") { Name = "Emirhan", Surname = "Mutlu", Gender = "Male", Web = "www.emirhanmutlu.com", Email = "emirhan@hotmail.com", Comment = "emirhan", FacebookID = "1234",UserName="emirhan"}
            };

            TableHelper helper = new TableHelper();
            helper.DeleteTable("Users");

            foreach (UserEntity item in userList)
            {
                helper.AddNewUser(item);
            }
        }


        public static void CreateObjects(string className)
        {

        }
    }
}
